<?php
return	array(
		'db' => array(
				'connectionString' => 'mysql:host=localhost;dbname=trac_nghiem',
				'emulatePrepare' => true,
				'username' => 'root',
				'password' => '',
				'charset' => 'utf8',
				'tablePrefix' => '',
		),
		'db_session'=>array(
				'class'=>'CDbConnection',
				'connectionString' => 'mysql:host=localhost;dbname=idsession_all',
				'emulatePrepare' => true,
				'username' => 'root',
				'password' => '',
				'charset' => 'utf8',
				'tablePrefix' => '',
				'enableProfiling' => true,
				'enableParamLogging' => true
		),
		'log'=>array(
				'class'=>'CLogRouter',
				'routes'=>array(
						array(
								'class'=>'CFileLogRoute',
								'levels'=>'error, warning',
						),
						array(
								'class'			=> 'EmailLogRoute',
								'levels'		=> 'error',
								'emails'		=> array('tung@likevn.com','quangvinh@likevn.com','phuongnam@likevn.com','phuong@likevn.com'),
								'subject' 		=> 'Error in dbo.vn',
						),
				),
		),
);